package com.liuyucheng.designpattern.桥接模式;

public class TestBridge {
    public static void main(String[] args) {
        //苹果台式机
        Computer computer = new DesktopPC(new Apple());
        computer.info();

        System.out.println();

        //联想笔记本
        Computer computer2 = new LaptopPC(new Lenovo());
        computer2.info();
    }
}
